home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Complementary Applications 2004 February / SGI IRIX 6.5 Complementary Applications 2004 February.iso / dist / cde.idb / usr / dt / share / man / cat3 / XmTextFieldSetSelection.z / XmTextFieldSetSelection
Encoding:
Text File  |  2003-11-18  |  2.4 KB  |  67 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmTTTTeeeexxxxttttFFFFiiiieeeellllddddSSSSeeeettttSSSSeeeelllleeeeccccttttiiiioooonnnn((((3333XXXX))))UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVVXXXXmmmmTTTTeeeexxxxttttFFFFiiiieeeellllddddSSSSeeeettttSSSSeeeelllleeeeccccttttiiiioooonnnn((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.       _X_m_T_e_x_t_F_i_e_l_d_S_e_t_S_e_l_e_c_t_i_o_n - A TextField    function that sets the
  10.       primary selection of the text
  11.  
  12.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.       #include <Xm/TextF.h>
  14.  
  15.       void XmTextFieldSetSelection (wwwwiiiiddddggggeeeetttt,,,,    ffffiiiirrrrsssstttt,,,, llllaaaasssstttt,,,, ttttiiiimmmmeeee)
  16.            _W_i_d_g_e_t       wwwwiiiiddddggggeeeetttt;
  17.            _X_m_T_e_x_t_P_o_s_i_t_i_o_nffffiiiirrrrsssstttt;
  18.            _X_m_T_e_x_t_P_o_s_i_t_i_o_nllllaaaasssstttt;
  19.            _T_i_m_e       ttttiiiimmmmeeee;
  20.  
  21.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  22.       _X_m_T_e_x_t_F_i_e_l_d_S_e_t_S_e_l_e_c_t_i_o_n sets the primary selection of    the
  23.       text in the widget.  It also sets the    insertion cursor
  24.       position to the last position    of the selection and calls the
  25.       widget's _X_m_N_m_o_t_i_o_n_V_e_r_i_f_y_C_a_l_l_b_a_c_k callbacks.
  26.  
  27.       wwwwiiiiddddggggeeeetttt
  28.            Specifies the TextField widget ID
  29.  
  30.       ffffiiiirrrrsssstttt
  31.            Marks the first character position of the text to be
  32.            selected
  33.  
  34.       llllaaaasssstttt Marks the last position of the text to be selected
  35.  
  36.       ttttiiiimmmmeeee Specifies the time at which the selection value is
  37.            desired.     This should be    the same as the    time of    the
  38.            event that triggered this request.
  39.  
  40.       For a    complete definition of TextField and its associated
  41.       resources, see _X_m_T_e_x_t_F_i_e_l_d(_3_X).
  42.  
  43.      RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
  44.       _X_m_T_e_x_t_F_i_e_l_d(_3_X).
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                        (printed 11/11/03)
  64.  
  65.  
  66.  
  67.